<h1>Sign up</h1>

<%= error_messages_for :user %>

<% form_for :user, :url => users_path do |f| -%>

<div id="content_left">
	<p><label for="login">Login</label><br/>
	<%= f.text_field :login %></p>
	<p><label for="name">Name</label><br/>
	<%= f.text_field :name %></p>
	<p><label for="middle_initial">Middle initial</label><br/>
	<%= f.text_field :middle_initial %></p>
	<p><label for="lastname">Lastname</label><br/>
	<%= f.text_field :lastname %></p>
	<p><label for="email">Email</label><br/>
	<%= f.text_field :email %></p>
	<p><label for="password">Password</label><br/>
	<%= f.password_field :password %></p>
	<p><label for="password_confirmation">Confirm Password</label><br/>
	<%= f.password_field :password_confirmation %></p>
	<p><%= submit_tag 'Sign up' %></p>
</div>


<div id="content_right">
	<span id="openid_login">OpenID</span> makes signing up for and logging in to this site simple and secure. It puts you in control of your online identity, and saves you time. <br /> 
	<p>If you already have an OpenID just <%= link_to 'login', login_path %>.</p>
</div>

<div id="clear"></div>
<br />
<% end -%>
